package com.hyg.module_report.model;

import android.os.Parcel;
import android.os.Parcelable;


public class HealthCareData implements Parcelable {
    /*   养生建议数据模板   */

    private String id  = "";                    // 养生类型对应id
    private String CareTitle = "";               //养生标题,名称
    private String CareType = "";                //养生类型
    private String CareImageUrl = "" ;           //养生图片地址
    private String CareContent = "" ;            //养生内容
    private String AdviceDescribe = "";         //建议内容描述
    private String AdviceOperation = "";        //建议内容操作
    private String AdviceRole = "";             //建议内容作用
    private String AdviceTaboo = "";            //建议内容禁忌


    public HealthCareData() {
    }

    public HealthCareData(String id, String CareTitle, String CareType, String CareImageUrl, String CareContent){
        this.id = id;
        this.CareTitle = CareTitle;
        this.CareImageUrl = CareImageUrl;
        this.CareType = CareType;
        this.CareContent = CareContent;
    }

    public HealthCareData(String id, String CareTitle, String CareType, String CareImageUrl, String AdviceDescribe, String AdviceOperation, String AdviceRole, String AdviceTaboo){
        this.id = id;
        this.CareTitle = CareTitle;
        this.CareType = CareType;
        this.CareImageUrl = CareImageUrl;
        this.AdviceDescribe = AdviceDescribe;
        this.AdviceOperation = AdviceOperation;
        this.AdviceRole = AdviceRole;
        this.AdviceTaboo = AdviceTaboo;
    }

    protected HealthCareData(Parcel in) {
        id = in.readString();
        CareTitle = in.readString();
        CareType = in.readString();
        CareImageUrl = in.readString();
        CareContent = in.readString();
        AdviceDescribe = in.readString();
        AdviceOperation = in.readString();
        AdviceRole = in.readString();
        AdviceTaboo = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(CareTitle);
        dest.writeString(CareType);
        dest.writeString(CareImageUrl);
        dest.writeString(CareContent);
        dest.writeString(AdviceDescribe);
        dest.writeString(AdviceOperation);
        dest.writeString(AdviceRole);
        dest.writeString(AdviceTaboo);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<HealthCareData> CREATOR = new Creator<HealthCareData>() {
        @Override
        public HealthCareData createFromParcel(Parcel in) {
            return new HealthCareData(in);
        }

        @Override
        public HealthCareData[] newArray(int size) {
            return new HealthCareData[size];
        }
    };

    public String getAdviceDescribe() {
        return AdviceDescribe;
    }

    public void setAdviceDescribe(String adviceDescribe) {
        AdviceDescribe = adviceDescribe;
    }

    public String getAdviceOperation() {
        return AdviceOperation;
    }

    public void setAdviceOperation(String adviceOperation) {
        AdviceOperation = adviceOperation;
    }

    public String getAdviceRole() {
        return AdviceRole;
    }

    public void setAdviceRole(String adviceRole) {
        AdviceRole = adviceRole;
    }

    public String getAdviceTaboo() {
        return AdviceTaboo;
    }

    public void setAdviceTaboo(String adviceTaboo) {
        AdviceTaboo = adviceTaboo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCareTitle() {
        return CareTitle;
    }

    public void setCareTitle(String careTitle) {
        CareTitle = careTitle;
    }

    public String getCareType() {
        return CareType;
    }

    public void setCareType(String careType) {
        CareType = careType;
    }

    public String getCareImageUrl() {
        return CareImageUrl;
    }

    public void setCareImageUrl(String careImageUrl) {
        CareImageUrl = careImageUrl;
    }

    public String getCareContent() {
        return CareContent;
    }

    public void setCareContent(String careContent) {
        CareContent = careContent;
    }


    @Override
    public String toString() {
        return "HealthCareData{" +
                "id='" + id + '\'' +
                ", CareTitle='" + CareTitle + '\'' +
                ", CareType='" + CareType + '\'' +
                ", CareImageUrl='" + CareImageUrl + '\'' +
                ", CareContent='" + CareContent + '\'' +
                ", AdviceDescribe='" + AdviceDescribe + '\'' +
                ", AdviceOperation='" + AdviceOperation + '\'' +
                ", AdviceRole='" + AdviceRole + '\'' +
                ", AdviceTaboo='" + AdviceTaboo + '\'' +
                '}';
    }
}
